﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace hello.csharp.helper
{
    public class EmailHelper
    {
        /// <summary>
        /// 发送邮件，以确认用户注册邮箱的可用性
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <param name="name">用户名</param>
        /// <param name="email">用户Email</param>
        /// <returns></returns>
        public static async Task SendUsableEmail(string userId, string name, string email)
        {
            /*
             一些邮件链接供参考
             https://api.unity.com/v1/oauth2/verify-email?evc=dwiLrVqOTNg3MPCW7FOf5vFPSG672fsKOlDap07--8XwiqEW9_QQKKyZcStbdO7AKChv7ilogZbs3RR-HWt63889ig5SHPeGqIKPK6JC_Tc00efm001&locale=en_US
             https://hub.docker.com/account/confirm-email/9dc791c3681589f9df8ab9f8e042d9cbaaeedeb9/
             https://twitter.com/i/redirect?url=https%3A%2F%2Ftwitter.com%2Faccount%2Fconfirm_email%2Ferianknife%2FC8926-49FEB-141092%3Ft%3D1%26sig%3D1e3c5e51dd94a8d7de59a3cd0abaabed07d6926f%26al%3D1%26iid%3D33fb7c869fd5428c93a0e723f9110c34%26ac%3D1%26autoactions%3D1410928664%26uid%3D2773135287%26nid%3D18%2B308&t=1&sig=f0a36ff74d3e9d4c36c5724752bff3aa00384f1d&iid=33fb7c869fd5428c93a0e723f9110c34&uid=2773135287&nid=18+308
            */
        }
    }
}
